PATHMac OS 8 and 9 Developer Documentation > Networking and Communications > URL Access Manager >

Transferring Files With the URL Access Manager


URLNewReference

Creates a URL reference.

SStatus URLNewReference (
                     const char* url,
                     URLReference *urlRef);
url
A pointer to an array of characters that specify the URL you want to reference.
urlRef
A pointer to a reference of type URLReference . On return, urlRef points to a valid URL reference that you can use as a parameter to many URL Access Manager functions.
function result
A result code. For a list of possible result codes, see Result Codes .

DISCUSSION

The function URLNewReference creates a reference to a URL that you can use in subsequent calls to the URL Access Manager.

When you no longer need a URL reference, you should reclaim memory by calling URLDisposeReference .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)